package com.example.huajia.wx.controller.form;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel
public class InsertOrderForm {


    @NotBlank(message = "商品Id不能为空")
    private String productId;

    @NotBlank(message = "商品名称不能为空")
    private String productName;

    @NotBlank(message = "商品兑换积分不能为空")
    private String productPoint;

    @NotBlank(message = "商品兑换数量不能为空")
    private String productCount;

    @NotBlank(message = "商品总兑换积分不能为空")
    private String totalPoint;

    @NotBlank(message = "地址不能为空")
    private String address;

    @NotBlank(message = "姓名不能为空")
    private String name;

    @NotBlank(message = "电话不能为空")
    private String phone;

    @NotBlank(message = "商品图片不能为空")
    private String img;
}
